//
//  UIView+Extension.swift
//  HVASA
//
//  Created by mac on 2023/9/14.
//

import Foundation
import UIKit
extension UIView {
    public var safeAreaFrame: CGRect {
        if #available(iOS 11, *) {
            return safeAreaLayoutGuide.layoutFrame
        }
        return bounds
    }
}
